package jy.game.components.tower;


import java.util.ArrayList;
import java.util.List;

import jy.game.BasePojo;
import jy.game.JyCondition;
import wx.xml.simpleframework.xml.Attribute;
import wx.xml.simpleframework.xml.ElementList;
import wx.xml.simpleframework.xml.Root;

@Root(name = "tower")
public class JyTower extends BasePojo {

    @Attribute(name = "key") public                        String            key;
    @Attribute(name = "desc") public                       String            desc;
    @ElementList(name = "map", inline = true) public       List<JyTowerMap>  maps       = new ArrayList<JyTowerMap>();
    @ElementList(name = "condition", inline = true) public List<JyCondition> conditions = new ArrayList<JyCondition>();

    // (get) Token: 0x06000569 RID: 1385 RVA: 0x00004F02 File Offset: 0x00003102
    @Override public /*override*/ String getPK() {
        {
            return this.key;
        }
    }
}